package com.springboot.demo.service;

import com.springboot.demo.entity.CentralMonitor;

import java.util.List;

/**
 * @author wubc683
 * @desc
 * @date 2021-11-26 11:56
 */
public interface CentralMonitorService {
    /**
     * 获取集中监控所有分组信息
     * @param uid
     * @return: java.util.List<com.springboot.demo.entity.CentralMonitor>
     */
    List<CentralMonitor> getAllCentralMonitor(Long uid);

    /**
     * 创建集中监控分组
     * @param uid
     * @param name
     * @return: void
     */
    void saveCentralMonitor(Long uid,String name);

    /**
     * 修改集中监控分组
     * @param uid
     * @param cid
     * @param name
     * @return: void
     */
    void updateCentralMonitor(Long uid, Long cid, String name);

    /**
     * 删除集中监控分组
     * @param uid
     * @param cid
     * @return: void
     */
    void deleteCentralMonitor(Long uid, Long cid);
}
